package com.example.dezhou_puke.enums;

/**
 * @ClassName: Color
 * @Description: 牌的花色
 * @Author: YangGuisen
 * @Date: 2018/6/5 14:01
 * @Version: 1.0
 */
public enum Color {


    H_HEART(1,"红桃"),
    S_SPADE(2,"黑桃"),
    D_DIAMOND(3,"方块"),
    C_CLUB (4,"梅花");

    /**
     * 牌的花色编号
     */
    private Integer color;
    /**
     *牌的花色描述
     */
    private  String desc;

    Color(Integer color, String desc) {
        this.color = color;
        this.desc = desc;
    }



    public Integer getColor() {
        return color;
    }

    public void setColor(Integer color) {
        this.color = color;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
